Previous Book Contents Book Index Next

Inside Macintosh: Programming With JManager /
Chapter 2 - JManager Reference / JManager Functions
Abstract Window Toolkit Control Functions /


JMCountAWTContextFrames

Counts the number of frames associated with an AWT context.

OSStatus JMCountAWTContextFrames (
                     JMAWTContextRef context, 
                     UInt32* frameCount);
context
The AWT context whose frames are being counted.
frameCount
A pointer to the frame count. On return, this parameter holds the number of allocated frames associated with the context. (This value may be 0.)
function result
A result code; see "JManager Result Codes".
DISCUSSION
After determining the number of frames, you can then access an individual frame by calling the JMGetAWTContextFrame function.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
10 DEC 1997